
package com.tianlan.blog.dto;

import java.util.Date;
import java.util.List;

import com.tianlan.blog.entity.SysResource;

/**
 * @author 
 */
public class UserInfo {
	private Integer id;
	private String userAccount;
	private String userNickName;
	private String userName;
	private Character userSex;
	private String userEmail;
	private String userMobile;
	private String userPassword;
	private Character userStatus;
	private String headImgUrl;
	private String province;
	private String provinceName;
	private String city;
	private String cityName;
	private String area;
	private String street;
	private String description;
//	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;
	private Integer creator;
//	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date updateTime;
	private Integer operator;
	private String roleIds;
	private String roleKey;
	private String roleName;
	private String dataPermission;
	private Integer organizationId;
	private String organizationName;

	private Long time;
	private Integer roleId;
	private List<String> roles;
	private List<SysResource> resources;
	private List<String> stringResources;
	private String token;

	public UserInfo() {
		super();
	}
	public UserInfo(Integer id, String userAccount, String userNickName, String userName, Character userSex,
			String userEmail, String userMobile, String userPassword, Character userStatus, String headImgUrl,
			String province, String provinceName, String city, String cityName, String area, String street,
			String description,Date createTime, Integer creator, Date updateTime, Integer operator, String roleIds,
			String roleKey, String roleName, String dataPermission, Integer organizationId, String organizationName) {
		super();
		this.id = id;
		this.userAccount = userAccount;
		this.userNickName = userNickName;
		this.userName = userName;
		this.userSex = userSex;
		this.userEmail = userEmail;
		this.userMobile = userMobile;
		this.userPassword = userPassword;
		this.userStatus = userStatus;
		this.headImgUrl = headImgUrl;
		this.province = province;
		this.provinceName = provinceName;
		this.city = city;
		this.cityName = cityName;
		this.area = area;
		this.street = street;
		this.description = description;
		this.createTime = createTime;
		this.creator = creator;
		this.updateTime = updateTime;
		this.operator = operator;
		this.roleIds = roleIds;
		this.roleKey = roleKey;
		this.roleName = roleName;
		this.dataPermission = dataPermission;
		this.organizationId = organizationId;
		this.organizationName = organizationName;
	}
	
	public UserInfo(Integer id, String userAccount, String userNickName, String userName, Character userSex,
			String userEmail, String userMobile, String userPassword, Character userStatus, String headImgUrl,
			String province, String provinceName, String city, String cityName, String area, String street,
			String description, Date createTime, Integer creator, Date updateTime, Integer operator, String roleIds,
			String roleKey, String roleName, String dataPermission, Integer organizationId, String organizationName,
			Long time, Integer roleId, List<String> roles, List<SysResource> resources, List<String> stringResources,
			String token) {
		super();
		this.id = id;
		this.userAccount = userAccount;
		this.userNickName = userNickName;
		this.userName = userName;
		this.userSex = userSex;
		this.userEmail = userEmail;
		this.userMobile = userMobile;
		this.userPassword = userPassword;
		this.userStatus = userStatus;
		this.headImgUrl = headImgUrl;
		this.province = province;
		this.provinceName = provinceName;
		this.city = city;
		this.cityName = cityName;
		this.area = area;
		this.street = street;
		this.description = description;
		this.createTime = createTime;
		this.creator = creator;
		this.updateTime = updateTime;
		this.operator = operator;
		this.roleIds = roleIds;
		this.roleKey = roleKey;
		this.roleName = roleName;
		this.dataPermission = dataPermission;
		this.organizationId = organizationId;
		this.organizationName = organizationName;
		this.time = time;
		this.roleId = roleId;
		this.roles = roles;
		this.resources = resources;
		this.stringResources = stringResources;
		this.token = token;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserAccount() {
		return userAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public String getUserNickName() {
		return userNickName;
	}
	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Character getUserSex() {
		return userSex;
	}
	public void setUserSex(Character userSex) {
		this.userSex = userSex;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getUserMobile() {
		return userMobile;
	}
	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public Character getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(Character userStatus) {
		this.userStatus = userStatus;
	}
	public String getHeadImgUrl() {
		return headImgUrl;
	}
	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getProvinceName() {
		return provinceName;
	}
	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getCreator() {
		return creator;
	}
	public void setCreator(Integer creator) {
		this.creator = creator;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getOperator() {
		return operator;
	}
	public void setOperator(Integer operator) {
		this.operator = operator;
	}
	public String getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}
	public String getRoleKey() {
		return roleKey;
	}
	public void setRoleKey(String roleKey) {
		this.roleKey = roleKey;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getDataPermission() {
		return dataPermission;
	}
	public void setDataPermission(String dataPermission) {
		this.dataPermission = dataPermission;
	}
	public Integer getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}
	public String getOrganizationName() {
		return organizationName;
	}
	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public List<String> getRoles() {
		return roles;
	}
	public void setRoles(List<String> roles) {
		this.roles = roles;
	}
	public List<SysResource> getResources() {
		return resources;
	}
	public void setResources(List<SysResource> resources) {
		this.resources = resources;
	}
	public List<String> getStringResources() {
		return stringResources;
	}
	public void setStringResources(List<String> stringResources) {
		this.stringResources = stringResources;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	
}
